import request from '@/utils/request'

// 会话列表
export function sessionList(params) {
    return request({
      url: '/system/sysCustomer/getList',
      method: 'get',
      params
    })
  }

  // 消息列表
export function getMsgList(params) {
    return request({
      url: '/system/sysCustomer/getMsgList',
      method: 'get',
      params
    })
  }

//编辑消息
export function updateMsg(data) {
    return request({
      url: '/system/sysCustomer/updateMsg',
      method: 'post',
      data: data
    })
  }

  //推导聊天
export function getOutputByCustomerId(params) {
  return request({
    url: '/system/sysCustomerAi/getOutputByCustomerId',
    method: 'get',
    params
  })
}

  

  